package com.lms.admin.api;

import com.lms.common.entity.SysUser;
import com.lms.common.pure.http.HttpResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

//@HttpExchange("/sysUser")
@FeignClient(name = "lms-admin-base")
public interface SysUserClient {

//    @PostExchange("/save")
    @PostMapping("/sysUser/save")
    HttpResponse<SysUser> save(@RequestBody Map<String, Object> entity);
}
